$POP_W: 320px;

.cp-widget {

  &.active {
    > .inner {
      > .footer {
        background: -moz-linear-gradient(to right, rgba(255, 255, 255, 0), #82dcff 15%, #3ceeff, #82dcff, rgba(255, 255, 255, 0));
        background: -o-linear-gradient(to right, rgba(255, 255, 255, 0), #82dcff 15%, #3ceeff, #82dcff, rgba(255, 255, 255, 0));
        background: -webkit-linear-gradient(to right, rgba(255, 255, 255, 0), #82dcff 15%, #3ceeff, #82dcff, rgba(255, 255, 255, 0));
        background: linear-gradient(to right, rgba(255, 255, 255, 0), #82dcff 15%, #3ceeff, #82dcff, rgba(255, 255, 255, 0));
      }
    }
  }

  > .inner {

    > .content {
      width: 100%;
      position: relative;

      > .underlay {
        width: 100%;
      }

      > .tag {
        position: absolute;
        z-index: 11;
        top: 6px;
        left: 0;
        color: #fff;
        background: #4ecdff;
        font-size: 12px;
        white-space: nowrap;
        padding: 3px 5px;
      }

      > .thumb {
        position: absolute;
        top: 3%;
        left: 50%;
        @include transform(translateX(-50%));
        height: 63%;
        width: 100%;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
      }

      > .title {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 33%;
        color: #fff;

        > .txt {
          position: absolute;
          left: 50%;
          top: 50%;
          transform: translate(-50%, -50%) scale(0.7);
          white-space: nowrap;
        }
      }
    }

    > .footer {
      background: -moz-linear-gradient(to right, rgba(255, 255, 255, 0), #82dcff 15%, #b2ddfc, #82dcff, rgba(255, 255, 255, 0));
      background: -o-linear-gradient(to right, rgba(255, 255, 255, 0), #82dcff 15%, #b2ddfc, #82dcff, rgba(255, 255, 255, 0));
      background: -webkit-linear-gradient(to right, rgba(255, 255, 255, 0), #82dcff 15%, #b2ddfc, #82dcff, rgba(255, 255, 255, 0));
      background: linear-gradient(to right, rgba(255, 255, 255, 0), #82dcff 15%, #b2ddfc, #82dcff, rgba(255, 255, 255, 0));
      text-align: center;
      padding: 3px 0;
      color: #fff;
      position: relative;

      > .btn {
        position: relative;
        z-index: 11;
      }

      &:before,
      &:after {
        content: "";
        background-image: -moz-linear-gradient(to right, rgba(38, 212, 255, 0) 0%, rgb(40, 212, 255) 50%, rgba(41, 212, 255, 0) 100%);
        background-image: -webkit-linear-gradient(to right, rgba(38, 212, 255, 0) 0%, rgb(40, 212, 255) 50%, rgba(41, 212, 255, 0) 100%);
        background-image: -ms-linear-gradient(to right, rgba(38, 212, 255, 0) 0%, rgb(40, 212, 255) 50%, rgba(41, 212, 255, 0) 100%);
        background-image: linear-gradient(to right, rgba(38, 212, 255, 0) 0%, rgb(40, 212, 255) 50%, rgba(41, 212, 255, 0) 100%);
        position: absolute;
        left: 50%;
        width: 50%;
        height: 2px;
        z-index: 9;
        @include transform(translateX(-50%));
      }

      &:before {
        top: 0;
      }

      &:after {
        bottom: 0;
      }
    }
  }

}

